Trò chơi Angry Birds trong UNITY Engine
31.672 lượt xem;
1 using UnityEngine;
2 using System.Collections;
3
4
5
6 /// <summary>
7 /// defines what should be done in the event that a TweenProperty is being added to Go when an existing TweenProperty
8 /// of the same type with the same target object is already present
9 /// </summary>
10 public enum GoDuplicatePropertyRuleType
11 {
12 None, // dont bother checking or doing anything
13 RemoveRunningProperty, // removes the property from the Tween that was already running
14 DontAddCurrentProperty // leaves the original property intact and doesnt add the current property
15 }
2 using System.Collections;
3
4
5
6 /// <summary>
7 /// defines what should be done in the event that a TweenProperty is being added to Go when an existing TweenProperty
8 /// of the same type with the same target object is already present
9 /// </summary>
10 public enum GoDuplicatePropertyRuleType
11 {
12 None, // dont bother checking or doing anything
13 RemoveRunningProperty, // removes the property from the Tween that was already running
14 DontAddCurrentProperty // leaves the original property intact and doesnt add the current property
15 }